﻿using BenCaoXuan.Infrastructure.Attr;
using BenCaoXuan.Infrastructure.Dto;
using BenCaoXuan.Infrastructure.Dto.Admin.employee;
using BenCaoXuan.Infrastructure.EFCore.MySql;

namespace BenCaoXuan.Service.Interface.admin
{
    [Provider_]
    public interface I_Login_Service
    {
     
        /// <summary>
        /// 检查登录
        /// </summary>
        /// <param name="v1"></param>
        /// <param name="v2"></param>
        /// <returns></returns>
        Employee_Dto? Check_Login(string v1, string v2);

        /// <summary>
        /// 初始化员工密码
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Init_User();

        /// <summary>
        /// 管理员-登录
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Logins(Login_Dto dto);
    }
}
